import sys

print type(sys.version_info)

#sys          => module
#version_info => tuple sys.version_info(major=2, minor=7, micro=9, releaselevel='final', serial=0)

print sys.version_info.major
print sys.version_info.minor
print sys.version_info.micro
print sys.version_info.releaselevel
print sys.version_info.serial

print "############################"

print sys.version_info[0]
print sys.version_info[1]
print sys.version_info[2]
print sys.version_info[3]
print sys.version_info[4]

##########################################################################
# What is name tuple?

print  sys.version_info

##########################################################################
import collections

Student    = collections.namedtuple('Student','firstName, lastName, permNumber')
StudentObj = Student("Chris","Gaucho",123456)

print StudentObj
print StudentObj.firstName
print StudentObj.lastName
print StudentObj.permNumber
